/**
 * 
 */
package com.suneee.refund.address.service;

import java.util.List;

import com.suneee.context.page.Page;
import com.suneee.refund.address.bean.RefundAddress;
import com.suneee.refund.address.bean.RefundAddressSearchBean;

/**
 * @author liuxh 退换货详细地址管理
 */
public interface RefundAddressService {

	/**
	 * 查看企业中的退换货详细地址
	 * 
	 * @param configId
	 * @return
	 */
	public Page<RefundAddress> refundAddressList(RefundAddressSearchBean refundAddress);

	/**
	 * 增加企业退换货详细地址
	 * 
	 * @param refundAddress
	 */
	public void addRefundAddress(RefundAddress refundAddress);

	/**
	 * 修改企业退换货详细地址
	 * 
	 * @param refundAddress
	 */
	public void updateRefundAddress(RefundAddress refundAddress);

	/**
	 * 企业退换货详细地址
	 * 
	 * @param refundAddress
	 */
	public RefundAddress getRefundAddressById(Long id);

	/**
	 * 删除企业退换货详细地址
	 * 
	 * @param refundAddress
	 */
	public void deleteRefundAddress(Long... ids);

	/**
	 * 更改企业退换货详细地址状态为默认
	 * 
	 * @return
	 */
	public void isDefault(Long id,Integer shopId);
	
	/**
	 * 获得企业所有退货地址
	 * @param refundAddress
	 * @return
	 */
	public List<RefundAddress> getEnterpriseRefundList(RefundAddressSearchBean refundAddress);
	
	public void syncTmallAddress();

}
